module.exports = function(router){
	router.map({
		"/":{
			component:require("../components/user/article-list.vue")
		},
		"/articleDetails":{
			name:"articleDetails",
			component:require("../views/user/article-details.vue")
		}
	});
	router.beforeEach(function(){
		window.scrollTo(0,0);
	})
};
